<?php

class LogoutController extends AbstractController {

	public function indexAction() {
		$session = Session::getInstance();
		$session->destroy();
		$session->send();

		$this->redirect($this->getURI(''));
	}

}